Conversation
octo-sts
bot
commented
Nov 6, 2025
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍Git checkout validation failed because the actual commit hash (0b1524c1a020397a165fd7f0bb53443173c81002) for tag 11.2.6 in the drupal/recommended-project repository does not match the expected commit hash (4c3161830109471259d87d9e9e869c98e502e78b). This indicates a mismatch between the expected and actual state of the repository at the specified tag. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: drupal-11.yaml
Replacement: Content: Click to expand fix analysisAnalysisThe similar fixes show a clear pattern: when git checkout fails due to expected-commit mismatch, the solution is to update the expected-commit value to match the actual commit hash that the tag points to in the repository. In all three examples, the fixes involved updating the expected-commit field from the old hash to the new hash that was found. The pattern shows that tags can be moved or updated in upstream repositories, requiring the build configuration to be updated with the correct commit hash. Additionally, version bumps are often accompanied by these commit hash updates. Click to expand fix explanationExplanationThe fix should work because the error indicates that the actual commit hash for tag 11.2.6 in the drupal/recommended-project repository is 0b1524c1a020397a165fd7f0bb53443173c81002, but the build configuration expects 4c3161830109471259d87d9e9e869c98e502e78b. This is a common scenario where upstream repositories update or move tags, and the build configuration needs to be updated to reflect the current state. Looking at the similar fixes, they all follow the same pattern: updating the expected-commit value to match what was actually found. The first git-checkout for drupal/drupal.git appears to be working correctly since the error specifically mentions the drupal/recommended-project.git repository checkout failure. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
superseded by #71257 |